public void oldGameCheck() {

    File F = new File();
    if (F.isEmpty()) {
      JOptionPane.showMessageDialog(null, "No data from previous games found!");
    }
  }
  void removeFile(String path, User currentUser, Directory currentDir)
      throws FileUnknownException, AccessDeniedException {

    File fileToRemove =
        absolutePath(path, currentUser, currentDir).getFileByName(getLastPathToken(path));

    fileToRemove.checkAccessDelete(currentUser);

    try {
      fileToRemove.isEmpty();
      for (File f : getRecursiveRemovalContent((Directory) fileToRemove)) {
        f.checkAccessDelete(currentUser);
        f.remove();
      }
    } catch (IsNotDirectoryException e) {
      //
    } finally {
      fileToRemove.remove();
    }
  }