Fixed file naming bug