make autosend work better with TextFileReader. TODO: incorporate it