Fixed file creation.