public static void main(String[] args) throws IOException {

        String fileName = "wap.txt";


        Storage hashMapStorage = new HashMapStorage();
        System.out.println("HashMap");
        testStorage(hashMapStorage, fileName);

        Storage treeMapStorage = new TreeMapStorage();
        System.out.println("TreeMap");
        testStorage(treeMapStorage, fileName);

        Storage linkedListStorage = new LinkedListStorage();
        System.out.println("LinkedList");
        testStorage(linkedListStorage, fileName);

        Storage arrayListStorage = new ArrayListStorage();
        System.out.println("ArrayList");
        testStorage(arrayListStorage, fileName);

    }