refactoring gestoreFIle
add some tests
popolaGrafo added