How to expand folded package chain in Intellij IDEA?
Uncheck "Hide Empty Middle Packages" under the Project View settings dropdown:
As another solution of how to create another file in the intermediate package:
Use expanded hierarchy of packages on the top of the window as shown below