private void deleteFile(Path toDelete) {
    try {
      Files.delete(toDelete);
    } catch (NoSuchFileException e) {
      logger.error("File doesn't exist while deleting: {}", toDelete.toString(), e);
    } catch (IOException e) {
      logger.error("Encounter an I/O error while deleting file: {}", toDelete.toString(), e);
    } catch (Exception e) {
      logger.error("Encounter an unexpected error while deleting file: {}", toDelete.toString(), e);
    }
  }
Delete the files.
@param toDelete files need to be deleted.
ambry-store/src/test/java/com/github/ambry/store/CompactionPolicyTest.java