update 'process' to take text to decouple it from files b/c files can suck sometimes