move test for filelen after data read. Data is reading, len == 0