support loading extensions from a file and one or more directories