Implemented upload file to chat with file selector.