private String preparePath(String path){
  if (path.endsWith("/") || path.endsWith(pathSeparator)) {
    path+=DEFAULT_RAML_FILENAME;
  }
  return path;
}

private String preparePath ( String path ) { if ( path . endsWith ( "/" ) || path . endsWith ( pathSeparator ) ) { path += DEFAULT_RAML_FILENAME ; } return path ; }
checks the path and adds default file name if what was entered appears to be a directory
