Handle access errors scanning directories when importing files