I found it curious that the file rename sometimes ask to refactor the class inside and (most) sometimes just renames the files.
In addition to what AndrewS said, I belive that if you have multiple classes in a single file, it will also not ask to refactor it.