Changed dialogue file to yml; improved file exception catches