reads fields from prop files