This allows us to pass in the file to read from, and adds a quick test case to view the parsed output. It also fixes a base-10 vs base-16 mistake in parsing addresses.