Use File instead of FileSystems for Java 6
Own implementation for Java 6
Use Java 6 compatible BufferedReader initialization