Fixed creating files.