automatic backups, helper to resolve path within file