clean fileObj with a normal list, now need to use array for openGL call