corrected multifile support