changes in classes: File, Database, Main.