fixed creation of new files