Regarding designing a program of file check
<p>I am working on application which creates a folder in C: itself named abc and inside abc folder there 
is a serialized file named fg.ser, but the issue is that due to some technical reason
that file named fg.ser got deleted .</p>

<p>Now I have taken the fg.ser file inside an another seprate folder named backup inside C: drive and placed the 
fg.ser jar file inside the backup folder.</p>

<p>I want to create a java program which will check in 2 minutes if there is a file fg.ser is  present in
folder abc then it would not do anything but if the file fg.ser is not present inside folder abc then it 
will pick the file fg.ser from back up folder and will put in folder named abc .</p>

<p>Please advise. Any help would be appreciated please help</p>
