rework pamd file(s)