Output file with valid plan