In the brackets where the OP has input.txt and output.txt ,

Would not have to point to location of the file? i.e. newFile(C:/Documents & Settings/gfdshg/fdsdhfh/Input.txt)


Its just i was...