Finished processing. Added an end of file detector so that no exception is thrown with the array index.