FileType should guard against attacks here
no attack vector, there are only 4 cases
no attack vector, there are only 2 cases
cleanup
avoid cache attack in Ruby scanner
(eg. using Unicode-delimited Fancy Strings)