Reads and prints hashtable, has unchecked cast warning