added getMediaItem and uploadFile handlers with examples