Adding max files option to git_scanner