generate output representation of rows

def set_relative_path(self, common_prefix, base_dir):
        """
        generate output representation of rows
        """
        self.short_filename = self.filename.replace(common_prefix, '', 1)