added api method to download file