added download file for ts