def reformat_filepath(self, config_file, filename):
        """
        Convert relative paths in config file to absolute
        """
        if not filename.startswith("/"):
            filename = self.config_file_format.format(config_file, filename)
        return filename
Convert relative paths in config file to absolute