Added support of random file name generation