updates to identify_filenames to take a path