add gitlib
change Document to File