removed.. more file logging related code