Generate partial filenames based on file extentions