Removed unnecessary file logging code.