permissions mod
trying to handle obscure Iterable Type Error in the directory search