What are all the possible MacID("filetype") I need the one specifically for CSV but i couldn't find a list anywhere online surprisingly.
First run:
mdls "FileName"
Find the TypeCode in the Output:
kMDItemFSTypeCode = "TEXT"
You can use:
Dir(Path,MacID("TEXT"))