support -r command line switch repetition to open multiple files