private ArrayList<File> searchTileFiles() {
        File dir = new File("assets/maps");
        String find = ".map";
        
        File[] files = dir.listFiles();
        ArrayList<File> matches = new ArrayList<File> ();
        if (files != null) {
            for (int i = 0; i < files.length; i++) {
                if (files[i].getName().endsWith(find)) {
                    matches.add(files[i]);
                }
            }
        }
        return matches;
    }