File input: strings and numbers