Updates code to use file's date instead of subdir