public static float[] loadTranform(File file) throws IOException {
        String line;
        BufferedReader in = new BufferedReader(new FileReader(file));
        float[] newTransform = new float[16];
        int pos = 0;

        try {
            while (pos < newTransform.length && (line = in.readLine()) != null) {
                StringTokenizer tokenizer = new StringTokenizer(line);

                while (pos < newTransform.length && tokenizer.hasMoreTokens())
                    newTransform[pos++] = Float.parseFloat(tokenizer.nextToken());
            }
        } catch (NumberFormatException e) {
            errors.add(new WavefrontLoaderError(file, "Malformed tranform file"));
            return null;
        }

        // Check that we loaded a complete transform
        if (pos != 16) {
            errors.add(new WavefrontLoaderError(file, "Malformed tranform file"));
            return null;
        }
        return newTransform;
    }