speech file uploading function by Shu Can