optimisations for large excel files