Added templated util for restoring a local DB file