added timeout
simplified gzip handling
stops rechecking partial files