Add restarting file detection to reader
Add readerrestart handler