Fixed wrong behaviour for service, now i call finish when last file is
processed, not when size and totalbytes are equal