fixed docgen to manually load file source
merged with current branch