Acquire a lock on a file
<p>Dear all,
            I want to acqeuire a lock on a file when threo read gets started on a specific  file ,so that no other application can read the file which has been already locked and want to release the lock file when thread terminates.</p>
