Added template method in IOHandler