Set a requester chest in loading position next to the mall output station. Use a filtered inserter/miniloader toward the train. Connect the chest to the inserter/miniloader, change to "set filter" and ...