Appends content to an existing file
filePath - Full file path content - Content to append
filePath
content
void appendToFile(String filePath, String content) { createDir(dirname(filePath)); filePath.append(content); }