code: function cleanFile(pathToFile) {
    try {
      fs.unlinkSync(pathToFile);
    } catch (err) {
      switch (err.code) {
        case 'ENOENT':
          return;
        default:
          throw new Error(err);
      }
    }
  }
docs: Deletes a file from the filesystem if it exists.
  Does nothing if it doesn't do anything.
  @param {string} pathToFile  path to file to delete