add parse_action_with_dir object