public class UTF8_BOM {
public static void main(String[] args) {
final byte[] UTF_BOM = new byte[]{(byte) 0xEF, (byte) 0xBB, (byte) 0xBF};
final byte[] bom = new byte[3];
Disks.visitFile(new File("."), new FileVisitor() {
public void visit(File file) {
try {
FileInputStream fis = new FileInputStream(file);
fis.read(bom);