Make sure the file is an openvpn configuration and not a network manager connection
# nmcli connection import type openvpn file file.ovpn