allow importing from an extracted directory as well as a zipfile