Right now the input buffer when reading a line from file is 4096 bytes (including null term), but this is limiting for larger files. Will need to maintain one heap-allocated buffer and keep reusing per line (resizing if necessary) to support larger input files.