code: function writeFile(modified, data, file) {
  
  	return !modified ? Promise.resolve(false) : new Promise((resolve, reject) => {
  
  		fs.writeFile(file, data, (error) => {
  
  			error ? reject(error) : resolve(true);
  
  		});
  
  	});
  
  }
docs: Applies the changes by overwriting the original file.
  
  @private
  @param {Boolean} modified - Indicates whether the file contents have been modified.
  @param {String} data - The modified file contents.
  @param {String} file - The file path.
  @return {Promise} A promise that will return false if the file remained unchanged, or true if it was modified.