def get_logfile(logger=None):
logger = logger or logging.getLogger()<EOL>handlers = [i for i in logger.handlers if isinstance(i, logging.FileHandler)]<EOL>return handlers[<NUM_LIT:0>].baseFilename if handlers else None<EOL>
Return log file of first file handler associated with the (root) logger.
        None if no such handler is found.