*) Fixed that instantiateTexture no longer crashes when only receiving a directory path as file name