Fixed a Create File bug