Removed unnecessary comments
Make checking for positional parameter more explicit and set
search variable
add checking for existenc of password file