lib/functions/createFile.js
function createFile(file) {
    fs.ensureFileSync(file.name);
    fs.writeFileSync(file.name, file.source);
    return;
}
function createFile(file) {
    fs.ensureFileSync(file.name);
    fs.writeFileSync(file.name, file.source);
    return;
}
function createFile ( file ) { fs . ensureFileSync ( file . name ) ; fs . writeFileSync ( file . name , file . source ) ; return ; }
Synch create file and necessary folders

@param {Object} file - File to create.
@returns {void}
Synch create file and necessary folders