added a file logger service that does the same thing as the http service but logs to a file