Report read events

Basically implement the upload of input filemetadata and report of number of read events. Other things are minor.