parse dirs in source
parse dirs in source