added support for different comments for different file types.