code cleanup
sync flag for matching filenames