Added functionality to create and load backup files + automatic backup generation.