Strip path from filename of textures.