void (File file) { try (DataOutputStream stream = new DataOutputStream(new FileOutputStream(file.getAbsolutePath()))) { stream.writeInt(-1); } catch (IOException e) { throw new RuntimeException(e); } }