static bool readpathfile (const char* filename, char* datapath) /* find datapath from the datapath file */ { ... }