Throw error when there is no remote file