Use the type info for generating the file name