class FilePropertiesStack {

  public void push(FilePropertiesSpec filePropertiesSpec) {
    Preconditions.checkState(
        stack.size() < 3, "Error in file properties stack push, stacking over 3");
    stack.add(filePropertiesSpec);
    updateProperties();
  }

  public  FilePropertiesStack();

}