$ ./main 
Welcome to your iSwat Media Library
Enter file containing library contents: testLibrary.txt

What would you like to do?
  (1) List All Media Files
  (2) List Book Files
  (3) List Picture Files
  (4) List Video Files
  (5) Open Media
  (6) Get Detailed Information about Media
  (7) Quit
Choose (1-7): 1

All media items:
	1) Parrish (picture)
	2) Hello_Heisman (video)
	3) Gettysburg_Address (book)

What would you like to do?
  (1) List All Media Files
  (2) List Book Files
  (3) List Picture Files
  (4) List Video Files
  (5) Open Media
  (6) Get Detailed Information about Media
  (7) Quit
Choose (1-7): 2

Book items:
	3) Gettysburg_Address

What would you like to do?
  (1) List All Media Files
  (2) List Book Files
  (3) List Picture Files
  (4) List Video Files
  (5) Open Media
  (6) Get Detailed Information about Media
  (7) Quit
Choose (1-7): 3

Picture items:
	1) Parrish

What would you like to do?
  (1) List All Media Files
  (2) List Book Files
  (3) List Picture Files
  (4) List Video Files
  (5) Open Media
  (6) Get Detailed Information about Media
  (7) Quit
Choose (1-7): 4

Video items:
	2) Hello_Heisman

What would you like to do?
  (1) List All Media Files
  (2) List Book Files
  (3) List Picture Files
  (4) List Video Files
  (5) Open Media
  (6) Get Detailed Information about Media
  (7) Quit
Choose (1-7): 6

Entire number of item to open: 1
Name: Parrish
Type: picture
Location: /usr/swat/pics/parrish.jpg
Format: JPG

What would you like to do?
  (1) List All Media Files
  (2) List Book Files
  (3) List Picture Files
  (4) List Video Files
  (5) Open Media
  (6) Get Detailed Information about Media
  (7) Quit
Choose (1-7): 6

Entire number of item to open: 2
Name: Hello_Heisman
Type: video
Location: https://www.youtube.com/watch?v=YxpoqP9PkqM
Length: 123

What would you like to do?
  (1) List All Media Files
  (2) List Book Files
  (3) List Picture Files
  (4) List Video Files
  (5) Open Media
  (6) Get Detailed Information about Media
  (7) Quit
Choose (1-7): 6

Entire number of item to open: 4
Entire number of item to open: 3
Name: Gettysburg_Address
Type: book
Location: /usr/local/doc/GettysburgAddress
Author: Abe_Lincoln
Year: 1863
Current line number: 0

What would you like to do?
  (1) List All Media Files
  (2) List Book Files
  (3) List Picture Files
  (4) List Video Files
  (5) Open Media
  (6) Get Detailed Information about Media
  (7) Quit
Choose (1-7): 8
I'm sorry I don't understand you.

What would you like to do?
  (1) List All Media Files
  (2) List Book Files
  (3) List Picture Files
  (4) List Video Files
  (5) Open Media
  (6) Get Detailed Information about Media
  (7) Quit
Choose (1-7): 5

Entire number of item to open: 3

  Four Score and seven years ago our fathers brought forth on
this continent a new nation, conceived in Liberty, and dedicated
to the proposition that all men are created equal.
  Now we are engaged in a great civil war, testing whether that
nation, or any nation so conceived and so dedicated, can long endure.
We are met on a great battle-field of that war. We are met to dedicate
a portion of it as the final-resting place of those who here gave
their lives that that nation might live. It is altogether fitting
and proper that we should do this.
  But in a larger sense we cannot dedicate, we cannot consecrate, we

Select n for next; r to reset and quit; q to bookmark and quit: n

cannot hallow this ground. The brave men, living and dead, who
struggled here, have consecrated it far above our power to add or
detract. The world will little note nor long remember what we say
here, but it can never forget what they did here. It is for us, the
living, rather to be dedicated here to the unfinished work that they
have thus far so nobly carried on. It is rather for us to be here
dedicated to the great task remaining before us, --that from these
honored dead we take increased devotion to the cause for which they
here gave the last full measure of devotion, --that we here highly
resolve that the dead shall not have died in vain, that the nation

Select n for next; r to reset and quit; q to bookmark and quit: n

shall, under God, have a new birth of freedom, and that the
government of the people, by the people, and for the people, shall
not perish from the earth.





What would you like to do?
  (1) List All Media Files
  (2) List Book Files
  (3) List Picture Files
  (4) List Video Files
  (5) Open Media
  (6) Get Detailed Information about Media
  (7) Quit
Choose (1-7): 7

Closing Library
Good day!