string getFile(const char *) was actually a good idea.