Hey, it's you again ;D
First you "should" use punctuation marks for better understanding
Second, not getting mad at me for teasing you
You could use wooden transportations pipes to pump the chest empty, because i think, the quarry only uses one chest, not multiple ones. but i might be wrong here.
I suggest using diamon pipes to filter the valuables and barrels to store cobblestone, dirt and other junk.
EDIT: you can also put the output straight into pipes and then in a set of chests