directories of layers (net, middle, unit) are added