Feng Jiayun : Add the fopen function.