Loads data array from file (result of this converter)

        Tries to import, load and replace files' data.
        It will overwirte previously added items with #add_file or #load_file.

        :param input_file
        :type str or unicode

def load_file(self, input_file):
        """ Loads data array from file (result of this converter)

        Tries to import, load and replace files' data.
        It will overwirte previously added items with #add_file or #load_file.

        :param input_file
        :type str or unicode
        """
        pyimg = imp.load_source('image2py_taf', input_file)
        self.files = pyimg.data
        self.set_template(templates.templateByName(pyimg.template))