better err msg when input file not found
added helper to parse account names