changes to the interface for parsing scalar files