added getting filename from texture