Creating subdirectories for each type of data