A script which randomly generates different file extesions for files in a given directory