The filesize detection should be fixed this time, I'm reading the file twice but that should not really be a issue