Added remote file retrieval