implemented file upload and channel management