accept interface name and file path using getopt