Fixed parse file name

Function `parse_header` expects a set of bytes, not a string. However, the header contains a string.