Added basic file download functionality
Fix typo