createDirectoryWithFile function
Creates dirPath then writes a file named fileName inside it
with the given content.
Implementation
void createDirectoryWithFile(String dirPath, String fileName, String content) {
createDirectory(dirPath);
createFile('$dirPath/$fileName', content);
}