added automatic creation of uploads sub directories