added looper for logs from ftp