Implemented variations of java.io classes

Implemented variations of java.io classes