Grid IDs and file IDs now implementing context manager protocol as objects.