Checks if a file has one of the specified extensions
File path to check
Array of extensions to match (e.g., ['.ts', '.js'])
True if file has one of the extensions
Checks if a file has one of the specified extensions