you might consider using a read stream rather than reading the whole file