Dynamic Filename creation as a separate function

Modularity