Remove unused imports.
Fix syscall name.
Use flag.StringVar to capture the command line flags.