Adding remove directories, remove empty files and extract all capabilities.