def getFile(self, pathId, fileId, pristine = False):
        stream = self.troveFiles.getFileByFileId(fileId,
                                                 justPresent = not pristine)[1]
        return files.ThawFile(stream, pathId)