.ovpn file keeps opening as text file Kali

Opening file as a text document? it means you run the file with just the name and without specifying a software to run it with, try :
openvpn yourfile.ovpn