Update reader.sh

handle beginning of file