[Wen Hao] - convert file parameter to yaml.