adding file logger to plugin.py
merge