bugfix for reading files with a dash in the file name