title: Delete or Trash specific file in Drive
body: <p>I had a script that ran every day at 5 am, that would move a specific file (data.xls) to the trash. However, since DocsList has been retired, the script no longer functions, and I'm having trouble updating it.</p>
  
  <p>I've seen a couple of delete/setTrashed scripts posted here, but they all seem to function for an array of files, and i only want one specific file deleted.</p>
  
  <p>I'm not a coder, and self-taught myself most of the small amount i have, so i need it as simple as possible (sorry.)</p>
  
  <p>Any and all help or guidance is very appreciated. Thank you.</p>
  
  <pre><code>function myFunction() {
  var files = DriveApp.getFilesByName('data');
   while (files.hasNext()) {
     var file = files.next();
     ID = file.getId(file)
     Drive.Files.remove(ID);
   }
  }
  </code></pre>