if (f == null) return;
    public static void importAll(File f)    {        try        {            FileReader in = new FileReader(f);            char[] cbuf = new char[(int) f.length()];            in.read(cbuf);            in.close();            String[] tils = new String(cbuf).split("\n\n\n\n");            for (int i = 0; i < tils.length; i++)            {                tilesets[i].init();                tilesets[i].setAllDataAsString(tils[i]);            }        }        catch (FileNotFoundException e)        {            System.err.println("Unable to find file to import tilesets from.");        }        catch (IOException e)        {            System.err.println("Error reading file to import tilesets from.");        }    }