Fix regex for extracting the actual file name.