Support different file patterns