Many a times, I struggled to find a proper name for the files I want to save by my components.
What if the file already exists?
I should not overwrite existing files etc. etc.
Well, this is a generic function I've been using since a long for getting countered name i.e. <
This perevents me the problem of overwriting the files that are already present in the target folder.
Hope this will be of use to all of you.