only log when 0 bytes read from file