You can use packagizer and use the tag <jd:indexof>. It will be replaced by index of link within its package. I suggest to create a rule that auto renames the files when you add them.
Please provide example links if you need further help with it
__________________
JD-Dev & Server-Admin
|