code: public static RepositoryConfiguration read( File file ) throws ParsingException, FileNotFoundException {
          CheckArg.isNotNull(file, "file");
          Document doc = Json.read(new FileInputStream(file));
          return new RepositoryConfiguration(doc, withoutExtension(file.getName()));
      }
docs: Read the supplied JSON file and parse into a {@link RepositoryConfiguration}.
  
  @param file the file; may not be null
  @return the parsed repository configuration; never null
  @throws ParsingException if the content could not be parsed as a valid JSON document
  @throws FileNotFoundException if the file could not be found