Refactor into smaller methods, and allow custom strategies to define
file_name and captured-data stored-structure
With this commits api docs keeps the same features, but it adds the
chance to customize the way you save to files the api docs