Added send a system message and upload files function.