fixed DeliteObject type bug in FileReader