public static ArrayList<Dato> recuperarObjetoFichero(String direccion) {
		FileInputStream fis = null;
		ObjectInputStream ois = null;
		Object aux;
		ArrayList<Dato> al = new ArrayList<Dato>();
		try {
			fis = new FileInputStream(direccion);
			ois = new ObjectInputStream(fis);
			while (fis.available() > 0) {
				aux = ois.readObject();
				if (aux instanceof Dato)
					al.add((Dato) aux);
			}
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} finally {
			try {
				ois.close();
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
		return al;
	}