simplifying importer to get images recursively