Implement simple streaming and downloading file