Added support for logging downloaded files