Adding missing parent directories