add functionality to load files from texturePacker