switch to using boost::filesystem