HW4: <BUG-FIX> parsing tagged file correctly

Signed-off-by: unknown <zkk12345@gmail.com>