Got writing to file working. Simplified how different entry types work. Got data validation working.