public static void loadAllFiles() {
        File texDir = new File("res/tex/");
        ArrayList<File> texFiles = new ArrayList<>();
        texFiles.addAll(Arrays.asList(texDir.listFiles()));
        for (File f : texFiles) {
            if (!f.isDirectory() && f.getName().endsWith(".png")) {
                try {
                    texs.put(trimFilename(f.getName()), TextureLoader.getTexture(".png", new FileInputStream(f)));
                } catch (IOException ex) {
                    Logger.getLogger(Resources.class.getName()).log(Level.SEVERE, null, ex);
                }
            }
        }
        
        File modDir = new File("res/mod/");
        ArrayList<File> modFiles = new ArrayList<>();
        modFiles.addAll(Arrays.asList(modDir.listFiles()));
        for (File f : modFiles) {
            if (!f.isDirectory() && f.getName().endsWith(".obj")) {
                try {
                    meshes.put(trimFilename(f.getName()), loadObjFile(f));
                } catch (Exception ex) {
                    Logger.getLogger(Resources.class.getName()).log(Level.SEVERE, null, ex);
                }
            }
        }
    }