public boolean contains(File file,String fileContent){
  if (exists(file)) {
    String content=readFileContent(file);
    return content != null && content.equals(fileContent);
  }
  return false;
}

public boolean contains ( File file , String fileContent ) { if ( exists ( file ) ) { String content = readFileContent ( file ) ; return content != null && content . equals ( fileContent ) ; } return false ; }
returns boolean indicating whether this file contains the content value .
