Fixing filename patterns