fixed hardcoded excludefile bug