Can read and write data to the yaml file.