initial draft multifile handler