replacing upload return with TEXT_PLAIN