To leave a room or space in a line, one person following another in an orderly way.
"When the bell rang, the pupils filed out of the classroom in silence."
"The congregation filed out of the church into the bright afternoon sun."
— Cormac McCarthy, The Road, 2006