Fixed FileReader detection.