remove files and add dependencies