more changes to NewFile