add fopen fprintf test c file