Add saving config file to database