Now able to load local files as well