code: public static void writeFile( List<String> lines, String filePath ) throws IOException {
          writeFile(lines, new File(filePath));
      }
docs: Write a list of lines to a file.
  
  @param lines    the list of lines to write.
  @param filePath the path to the file to write to.
  
  @throws IOException