code: public static boolean delete(final File pFile, final boolean pForce) throws IOException {
          if (pForce && pFile.isDirectory()) {
              return deleteDir(pFile);
          }
          return pFile.exists() && pFile.delete();
      }
docs: Deletes the specified file.
  
  @param pFile  The file to delete
  @param pForce Forces delete, even if the parameter is a directory, and
  is not empty. Be careful!
  @return {@code true}, if the file existed and was deleted.
  @throws IOException if an i/o error occurs during delete.