only set agenda files if master file exists
remove old code