Use `FileUtils.getFileExtension()` for this