Add test for when file exists but it's not a valid yaml file