removed unused file logging to fix #1