Done with opening a remote file (closes #313).