add Attribute<FilePath>
add const char * constructor for FilePath
make std::function parameter value const reference