Made opening big files(~300.000) much more quicker

rewrote getContent function