added constants for column indices and helper function get_passfile_line