Added -f (file) and -d (dry-run) flags, tested for 3.3.1+