fixed bug in file names