check to see if there is a service file before trying the rake task