Loop through paths_and_times, and add test for duplicate file