Using a stack file for histological section images