making sure that if no persistence is specified, the service sets up file