refactor(fileconnector): Use new API from DocManager (refs #4696)