https://ixnfo.com/en/how-to-determine-the-type-of-file-in-linux.html
How to determine the type of file in Linux?