first version of newFile