Fixed new file creation