<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def import_doc(self, file_uris, docsearch, current_doc=None):
 """ Import the specified PDF file """

        doc = None
        docs = []
        pages = []

        file_uris = [self.fs.safe(uri) for uri in file_uris]
        imported = []
        for file_uri in file_uris:
            if docsearch.is_hash_in_index(PdfDoc.hash_file(self.fs, file_uri)):
                logger.info("Document %s already found in the index. Skipped"
                            % (file_uri))
                continue

            doc = PdfDoc(self.fs, docsearch.rootdir)
            logger.info("Importing doc '%s' ..." % file_uri)
            error = doc.import_pdf(file_uri)
            if error:
                raise Exception("Import of {} failed: {}".format(
                    file_uri, error
                ))
            imported.append(file_uri)
            docs.append(doc)
            pages += [p for p in doc.pages]

        return ImportResult(
            imported_file_uris=imported,
            select_doc=doc, new_docs=docs,
            new_docs_pages=pages,
            stats={
                _("PDF"): len(imported),
                _("Document(s)"): len(imported),
                _("Page(s)"): len(pages),
            }
        )