Made the vcs file type check smaller to prevent stack overflows on large files