How i can create file filter extension in c. For example i want the fopen function works only with files that ends with .txt extension