made some change for reader file