Revert "Fix for filename compare"

This reverts commit 415ba08f23193666e897ee564374165495f92437.