def importFile(self, item, path, user, name=None, mimeType=None, **kwargs):
        stat = os.stat(path)
        name = name or os.path.basename(path)

        file = self.model('file').createFile(
            name=name, creator=user, item=item, reuseExisting=True,
            assetstore=self.assetstore, mimeType=mimeType, size=stat.st_size,
            saveFile=False)
        file['path'] = os.path.abspath(os.path.expanduser(path))
        file['mtime'] = stat.st_mtime
        file['imported'] = True
        return self.model('file').save(file)
:type aws_access_key_id: string
dataset/ETHPy150Open girder/girder/girder/utility/filesystem_assetstore_adapter.py/FilesystemAssetstoreAdapter.importFile--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/boto-2.38.0/boto/__init__.py/connect_ses