Java test filesearch