docs: private static File getFile(File dirPath, String name) {
          if (dirPath != null && dirPath.isDirectory()) {
              File myFile = new File(dirPath, name);
              if (myFile.exists())
                  return myFile;
          }
          return null;
      }