ya it's giving a blank file..
can u pls modify the code for a big input file?