Moved file loading responsibilities out of Khronos.