public static boolean isDirectoryName(String fileName){
  for (  String suffix : directoryNames) {
    if (fileName.equals(suffix)) {
      return true;
    }
  }
  return false;
}

public static boolean isDirectoryName ( String fileName ) { for ( String suffix : directoryNames ) { if ( fileName . equals ( suffix ) ) { return true ; } } return false ; }
returns true if the filename that was passed is one of the directory artifact names . eg . " module - docs "
