adjusted basic lighting function to load a file (easier to change this way)