public String readFile(String filePath) throws Exception
   {
      
      Object lock = retrieveLock(filePath);      
      synchronized (lock) 
      {
         return IO.readFile(filePath);
      }
   }
public String readFile ( String filePath ) throws Exception { Object lock = retrieveLock ( filePath ) ; synchronized ( lock ) { return IO . readFile ( filePath ) ; } }
@param filePath the file to read
@return read a given file
@throws Exception