Move createShaderFromFile to global.h