// Find the appropriate file, first looking in the local directory, then the
// directory given in settings, and finally the global system directory.
string locateFile(string id, bool full=false, string suffix=settings::suffix);
namespace fs {
// Check to see if a file of given name exists.
bool exists(string filename);