Improvements and new functionality related to file uploads and downloads