Fixed bug in createFile