Update outdated createFile signature when uploading