Support non-option parameters to remove the -w option.
Added -d, removed -f.