Fix Java coding style warnings. * Use boolean instead of Boolean. * Call add() and check result instead of contains() and add(). * Call Paths.get(dir, file) instead of Paths.get(file_path). Change-Id: I26a40b24614d8fab4f8e0776dcde4cb1c7d1af4d