Improvements with file downloading