close file
prime
fclose(f_ptr);