Switched command-line arguments from positional to getopts;
Added password file verification