First draft of collecting files up to specified size.