Add to capa file the path of dictoinary
Remove unused funcions