use regex to verify yaml existence