instead of copying all files, use this.directory()