As the title implies, I want to use this function in order to generate a randomly/unique name file
My code: