To change the name or path of a generated file, open the template that generates the file and modify the RelativeFilePath property.
public override string RelativeFilePath { get { return "MyFile.cs"; } }