Fixed file generation.