parser for xfig format