make new file work