Can I file harassment against this girl !!??

I have this guy friend who goes to school with me and he also works the same job as me. Well 3 months ago him and his girlfriend broke up. He has my number since we work together and everybody has each other numbers for work purposes only. Me and him never text in a flirting way or anything. He sometimes hugs me but that's about it I'm not interested in him at all. Well his ex text me from his phone a about a week or 2 ago and was saying he doesn't like me and blah blah and I thought it was him so I just told him like we just friends. Well turns out it was her! She just text my phone again saying block him and she doesn't want me talking to him and he doesn't like me. Meanwhile I'm still like stop texting me. Me and him don't text enough for u to be this insecure and crazy over. I asked many times for her to stop texting me and she won't ! What can I do to protect myself ??