Custom properties to query file on linux and AIX system

Hello,

Can someone help me to create a relevance to query .dat files on the Linux and AIX systems?

thanks
Huythai