code: public void edit(int currentChangeListId, FilePath filePath) throws Exception {
          establishConnection().editFile(currentChangeListId, new File(filePath.getRemote()));
      }
docs: Opens file for editing.
  
  @param currentChangeListId The current change list id to open the file for editing at
  @param filePath            The filePath which contains the file we need to edit
  @throws IOException          Thrown in case of perforce communication errors
  @throws InterruptedException