Improved name generation for file formats