xva filenames are passed as parameters

Also clean-up actions removed, and a library was introduced to have some
help with generating tha paths.