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