Don't read all lines at once from mask file