Make rainfile optional