Update README
Remove duplicate code
Split name and iname options
Bug fix: Do not remove \n for empty lines