[Wen Hao] - convert file parameter.