java 7 style file access