added demo of how logging of how file logging works