Used FileHandle instead of the java.io classes