File name inspection works if file contains class with companion object