only set the agenda file path if the path exists