code: function getFile(filepath) {
  	var fileObj = {
  			path: filepath,
  			content: null
  	};
      try {
          fs.accessSync(filepath, fs.F_OK);
      } catch(e) {
  			console.log(e.message);
          return fileObj;
      }
  		fileObj.content = fs.readFileSync(filepath, 'utf-8').trim();
  		return fileObj;
  }
docs: Helper which gets a file content