replaced faulty readdir with glob; added empty check in event finder
Merge pull request #385 from micheldumontier/clinicaltrials

replaced faulty readdir with glob; added empty check in event finder