title: Thread abortion not happening on File Writing
body: <p>I have file reading/writing mechanism from my WPF Application. I am reading a file(100,000) records and grouping in based on "Account Type" field in the file.
  Each account type has seperate output files.</p>
  
  <p>I am doing this in threaded communication for better output file writing.</p>
  
  <p>Now My question is suppose if a user is cancelling the file writing from WPF Button. I am aborting the particular thread.
  But Still the file writing mechanism is happenings after aborting the thread.</p>
  
  <p>Is there any way to stop writing the file once it gets canceled by the user</p>