Destroys the file.
~basic_random_access_file();
This function destroys the file, cancelling any outstanding asynchronous operations associated with the file as if by calling cancel.
cancel