public Map load(String path, Sprite sprite)
    {
        try 
        {
            inputStream = new FileInputStream(new File(getClass().getResource(path).toURI())); //Some crap to read file
            BufferedReader br = new BufferedReader(new InputStreamReader(inputStream));
            
            byte[] data = Files.readAllBytes(Paths.get(getClass().getResource(path).toURI()));
            
            return new Map(data, sprite, br);
        }
        catch (FileNotFoundException ex) 
        {
            System.out.println(ex.getMessage());
        }
        catch (IOException | URISyntaxException ex) 
        {
            System.out.println(ex.getMessage());
        }
        return null;
    }