Ensure files come at the end.