Adding base of merger class and updating reader to be able to return directories