Set validation at save-time, created custom file type saving and opening.