Avinash: In my program I need to work on those new files
Have two directories. One for processed files and one for new files(your download location)
Whenever your program processes a file, it moves that file to the "processed" directory. So, you will always have unprocessed(new) files in the download directory.
(Moving this topic to Java In General(Intermediate))