add upload/download media file apis