graceful fail on bad files. theme swapping