modifed code to use java 1.7 file attributes code, and skip most exists
tests due to overhead.