fixed bug with file names