def _check_if_zipped(self, path):
        """ Checks if the filename shows a tar/zip file """

        filename = get_file(path).split('.')

        if filename[-1] in ['bz', 'bz2', 'gz']:
            return True

        return False
Checks if the filename shows a tar/zip file