Use input files to perform report. Fixes #4390

Also, fixed upload of runs and lumis for such files. It was not working.