I have this peace of code
string targetFile = string + boost::filesystem::path.filename()
the problem is that it considers path.filename()
as path instead of the string that the documentation tells (http://www.boost.org/doc/libs/1_36_0/libs/filesystem/doc/reference.html#Class-template-basic_path)