Revert "NewFileTest"

This reverts commit 4fb96e4586d34885d314697c5c9b38461a33d0d1.