add download file method