public static void writeToFile(String content,String filePath) throws IOException {
  writeToFile(content,new File(filePath));
}

public static void writeToFile ( String content , String filePath ) throws IOException { writeToFile ( content , new File ( filePath ) ) ; }
save string into the file
