Revert "Match the whole file name"

This reverts commit 7adadf0c5398147877d05b878ff79d767364dadb.