download file method added