gave conditions its own file