STL to DAT

Hi guys,
I’m new on Palabos and my purpose is to simulate a flow through a porous media whose geometry is given in a STL file. As far as I saw many have the problem of using Palabos with an STL file. So my question is if it is possible to convert this file in a DAT file.
Thank you

Alessandro