Added functionality that can load the file other than main bundle's resource path.