adding wrapper for copying files