Suggestion: $filename to enable BOM

Since $filename() chooses UTF, I suggest it should be able to choose BOM too.