cleanup + add files directive