Update OpenFileModel.java

More generical class