private HFileDeleteTask deleteFile(FileStatus file) {
    HFileDeleteTask task = new HFileDeleteTask(file, cleanerThreadTimeoutMsec);
    boolean enqueued = dispatch(task);
    return enqueued ? task : null;
  }
Construct an {@link HFileDeleteTask} for each file to delete and add into the correct queue
@param file the file to delete
@return HFileDeleteTask to track progress
hbase-server/src/main/java/org/apache/hadoop/hbase/master/cleaner/HFileCleaner.java