writeToFile = function(filePath, data) {
    fs.writeFile(filePath, data, function(err) {
        if (err) {
            return console.error(err);
        }

        console.log(`SVG file was created: ${filePath}`);
    });
}
@description Write data to the specified file path.
@param {string} filePath Path of the destination file
@param {*} data Data to write to the destination