update file reader to read obj file