read whole file at once rather than 100+ reads of parts