adding filename to header of a yaml file