agent checks downloaded file from repeated lines