Detect slim file type