base directory must exist before cpr