taking parameter on successfully copied files