Added function to create flat file storage directories.