fix handling of LHE files in input, thanks to Alan https://hypernews.cern.ch/HyperNews/CMS/get/dataopsrequests/5155/1/1/1/1/1.html