public void read(File file) throws IOException {
    setName(file.getName());
    try (RandomAccessFile stream = new RandomAccessFile(file, "r")) {
      read(stream);
    }
    catch (IOException exception) {
      throw new IconWrongFormat(file);
    }
  }
public void read(File file)