write file @param filePath @param content @param append is append, if true, write to the end of file, else clear content of file and write into it @return return false if content is empty, true otherwise @throws RuntimeException if an error occurs while operator FileWriter
(String filePath, String content, boolean append)