seperate each source into directories.