Directories fig and cache-cases created if not existing