Simple C Program to detect project types using in-directory filename heuristics