public void escribirObjeto (String path, String nom, Object ob) /*throws FileNotFoundException, IOException*/ {
        File f = new File("./Data/Barrios/" + path);
        if (!f.exists()) {
            f.mkdirs();
        }
        f = new File("./Data/Barrios/" + path + nom + ".o");
        try{
            FileOutputStream fos = new FileOutputStream(f);
            ObjectOutputStream oos = new ObjectOutputStream(fos);
            oos.writeObject(ob);
            oos.close();
        }catch(Exception e){
            System.out.println("\nDATA CORRUPTED!!!");
            System.out.println(e.getMessage() + "\n");
        }
    }