change donwload method for file_entity module