I am trying to extend an simple example that uses a hard coded set of vertices and indices arrays to display a red square to instead read the vertices and indices from a file an