split out contexts into their own files