<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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