Switching files works