Applies rules to filter file names (assuming the file name can be parsed to a date)