int chooseFile(char* path, char* initpath, char* rootpath, int* bline);