Better path matching for timestamped files