renaming method NewWriter to NewFile