the interface which must be implemented

While writing a new format, must implement this and add logic to the overriden method.