Moved handle class to be inner class of openfilecollection.