Don't access file editor component in headless mode