changes made to check other times in the argumen arguments to compare with the first pathname time