Using native file format (models and textures)

Hello Guys

How to make the game able to load game resources in its own format and from any folder?

For example, my model geometry data is written to a text file that stores the vertices, triangles, and UV coordinates of the model, and I want the game to be able to dynamically load them and render them right away in the game?

Sorry for my english, thanks in advance