check file if updated form a period time