public boolean isAttachment(String fileName){
  return fileName.startsWith(ENTRY_ATTACHMENT);
}

public boolean isAttachment ( String fileName ) { return fileName . startsWith ( ENTRY_ATTACHMENT ) ; }
true if the given file is an attachment .
