Downloads all files from database