change all pathes in docs model to path.join and add get flat docs list method