use mkdir call instead of command, print unsupported file types
fix new bug in decoding op
fix bug in processing -d option arg