replace files with getFiles(). files is private in this version of IntelliJ