Correctly fetching repo contents.
Appending correct files to list of files to document.