Alternatively: 

```c++
static boost::wregex proto_exp(L"^.+:.*" )
if(!boost::regex_match(filename, proto_exp))
{
	filename = env::media_folder() + L"\\" + filename;
				
	if(!boost::filesystem::exists(filename))
		filename = probe_stem(filename);
}
```