Added multi-file mode option