Extract date from filename