@staticmethod
def __clean_filename(filename):
    """
        Simple way to rename compressed file to the original file name.
        It is not a full proof detection method, but it will hardly present any issue.
        :param filename: file path to adapt
        :return: adapted file path
        """
    return '{}.pdf'.format(filename.split('_compress_', 1)[0])
