file java mendapatkan byte

File file = new File("./myfile.txt");
byte[] fileContent = Files.readAllBytes(file.toPath());
JavaBeast