Add support for remote files