Import packages and modules from arbitrary directories and files