sigh, when we're waiting for a non-zero filelength, we actually should TEST if the filelenght becomes non-zero duh