final changes for large file uploads