Read yaml cfg