add support for BOM UTF-32 BE when reading files