add docs file as parameter