Rename fileName to shaderName for future API.
Better exceptions.