modified newfile