public static void main(String arg[]) {
        try {
            MmsParamsReader mp = new MmsParamsReader(new java.io.FileReader(arg[0]));
            ParameterSet mps = mp.read();

            System.out.println ("Dimensions = " + mps.getDims());
            System.out.println ("Parameters = " + mps.getParams());

        } catch (java.io.FileNotFoundException e) {
            System.out.println(arg[0] + " not found");
        } catch (java.io.IOException e) {
            System.out.println(arg[0] + " io exception");
        }
    }