Add support for -o parameter (custom file names)