Removed redundant filename passing. Pylint fixes.
Pylint fixes (logger-not-lazy warnings)