public boolean remove(String path){
  return deletedFiles.remove(path);
}

public boolean remove ( String path ) { return deletedFiles . remove ( path ) ; }
removes the path to the file which need to skip .
