close prime
fclose(f_ptr);