how to give file name on console I am giving like "d:\test.txt" but error is coming