make sure files are opened properly for provisioning