I am trying to dedupe files in a directory by first part of the file name and pick files with the latest timestamp. I am trying to do this in python, open to use pandas.