writeLines added to FileUtil