Importer triggers a directory scan even when importing a single file (very time consuming on dir with many files)

Description

When looking for supplemental files associated to an imported files, the importer triggers a directory scan.
This might be very time consuming when importing files living into a directory with thousands of files, especially
when importing a file every few minutes.

Environment

None

Assignee

Daniele Romagnoli

Reporter

Daniele Romagnoli

Triage

None

Fix versions

Affects versions

None

Components

Priority

Medium
Configure