Renames file to match type name of selected type (an ECMAScript class or a TypeScript class, interface or enum).

File name matching can be framework-dependent. For example, for Angular 2 components, corresponding style guide is applied.