Fixed instanciation of NewFile