refactored to be able to create a pcgen content file