attempting to split & pop extensions (not yet parsing correctly)