alternate fix: Segault on second read of simple file