emit filesize event as soon as we know how large the file is