File to generate data; not quite working for large file probably due to size of file