snippt to create MODX elements from static files