changed public methods for fileHandler.java
all public methods are added for GUI