Python function to import a module by its filename