Moved IsFileTypeSupported to util.