Update code example to handle filenames starting with --