while rename the file , wait for the file until other processer not use the file