Change pointers on createFile();