Add writeFile(String, List, boolean)