amend import for remote files