Changing from single snippet per file to more general way

Signed-off-by: Artur Czepiel <czepiel.artur@gmail.com>