changed cap deploy file removing linked files and dirs