Write exports into subdirectorys

subdirectories