adding file logger to plugin.py