Fixed the file upload system.