move file, add newline