Text this: Behavioral Modeling of Flash Memories