Adding file downloads
Fix file downloads test