fixed createFile/Folder issue