Added support for loading remote files