feat(duplicates): checks specs for duplicates

Adds check to see if spec already exists in the specFiles.
Missreferenced variable name.
Merge branch 'master' into duplicate-specs
Merge pull request #1 from dflynn15/duplicate-specs

Duplicate specs