Adds spawn file