Added file uploads and handling.