made the 'loadTextureFromFile' function for mediabucket