Added temporary file filtering.