add utilities for simple CP/PWscf output parsing