public static Settings read(final String file) throws Exception {
        final InputStream input = new FileInputStream(new File(file));
        return read(input);
    }
Read configuration from a file into a new {@link Settings} object.

@param file the location of a Gremlin Server YAML configuration file
@return a new {@link Optional} object wrapping the created {@link Settings}
gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/Settings.java