File::Util can't use this string for »the name of a file or directory«. »D:/projects/my_program/TestData/text.txt« It contains illegal characters.