watch files by polling