select count(*) as tnExists from directoryList where name='#tn#' #file_name#