10488 is not a valid file pointer