Text this: Causal Effect of Functional Treatment