Thanks for your replys, I am a great believer when using code I ahve not used before , in making sure I use it the best way, it does the job can handle about 2000 devices so far without rnning out of memorey, if it was massive files i would prob go for SAX, or Stax.