implement another simple function to load obj files.