E perche' non usi piu' l'oggetto fstream?