save state of file structureeee