Keep the names of classes and files in compliance
When you rename a class, WebStorm also suggests renaming the file if it has the same name. If you accept the suggestion, WebStorm updates the name of this file in import statements in other files.

If you reject this suggestion, you can rename the file at any time later using the Rename file... intention action.