d3dxof: Move X files parsing into a separate file.