fix read on new file