Fix an issue with processing file names to extract info.