When parsing the file names in Windows, the produced strings contain backslashes that are later flagged as invalid characters in the file name.