{
	std::FILE* input{std::fopen(filename, "r")};
	if (!input) {
		std::fprintf(stderr, "Could not open %s for reading: %s\n",
			filename, std::strerror(errno));
		std::exit(EXIT_FAILURE);
	}

	char line[256]{""};
	while (std::fgets(line, 256, input)) {
		if (line[std::strlen(line) - 1] != '\n') {
			std::fprintf(stderr, "Line longer than 256 chars, aborting\n");
			std::exit(EXIT_FAILURE);