Fixed bug with wrong file names