Use fopen_s function