added backup to file