        log.debug(f'Filename: {file}')

        data['file'] = file
        data['content_type'] = content_type(file)
        self.cache[key] = file

    def keys(self):
        return self.cache.keys()

    def remove(self, key):
        if key in self.cache:
            del self.cache[key]
