Add check for exclude files