close the
prime
file
fclose(f_ptr);