added new macro to copy filtered files