adding download files feature (WIP)