Now reading dirs and excludes from json file.