Java class to parse and validate an alle strings file