File reading changes