Find the exact path for the JAR & TXT files. Ex: In Windows: JAR-FILE = C: users public Downloads df df.jar TXT-FILE = C: users public Downloads df MAHABHARAT.TXT In Linux/Mac: JAR-FILE = /home/usr/df/df.jar TXT-FILE = /home/usr/df/MAHABHARAT.TXT Step 2: Find out the complete path for the folder where you want to save the downloaded files.