Added support for multiple trap files