def _get_clean_filename(self, filename):
    return os.path.normpath(self.storage.get_valid_name(os.path.basename(filename)))
def _get_clean_filename(self, filename):
    return os.path.normpath(self.storage.get_valid_name(os.path.basename(filename)))