bbcmd: add filename and parsing convenience methods

Signed-off-by: Christopher Larson <chris_larson@mentor.com>