Can't load dynamically tex from file