File attribute, add block ?

Permalink
Hello all :)

I create a custom block 'Slider', and i want to add for example :

Slider id = 10, i want create a file attribute 'slider10' after add block.

I think is in a install() method but i found documentation with package s and i search method without package.

Thank you for your attention,

Maxime.

Emixam25