I\'ve been trying to use FileLock to get exclusive access to a file in order to:
FileLock
You should release the file with method release() before doing any action like rename or delete or ....