Fixed bug with file names