[Concept] [PATCH 08/12] buildman: Extract F: and N: tag handling in parse_file() into methods