feat(files): use dest and cwd from files object