writeFile method
Writes content to a file at the specified relative path
Implementation
void writeFile(String relativePath, String content) {
final file = File(path.join(projectName, relativePath));
file.createSync(recursive: true);
file.writeAsStringSync(content);
}