Upload file feature integration with UI and its error handling.