Scala load Z compressed file with spark

Is there a way to read a .Z (capital) file extension with Spark directly?

I know Scala with spark can read gzip files ( .gz ) directly, but when I try to load a compressed Z file ( .Z ) into a Dataframe it doesn’t work

Anyone here who could help me?