Removed recursive setting if checking a file only.