Abstract over downloading file contents