more logging
fixed defects with getting download for files