Reading the file piece by piece.