Generic readhandler

Or `glob('*.{' + allowedExtensions.join(',') + '}')`