Moved textfile_sizes() to readwrite library.