Fix for filename compare