public void run()
	{
		
		DataInputStream ds = new DataInputStream(this.inFile[fileCount]);
		
		try {
			while (!suspending) {
				String line = ds.readLine();
				
				// See if its the last file before terminating
				if (line == null) {
					fileCount++;
					if(fileCount >= this.inFile.length) {
						break;
					}
					ds = new DataInputStream(this.inFile[fileCount]);
				}
				
				if(line != null)
					System.out.println(line);  // Outputs the result to console
				
				// Make cat take longer so that we don't require extremely large files for interesting results
				try {
					Thread.sleep(1000);
				} catch (InterruptedException e) {
					System.out.println("stopped");
					return;
				}
			}
		} catch (EOFException e) {
			//End of File
		} catch (IOException e) {
			System.out.println ("cat: Error: " + e);
		} catch (NullPointerException e) {
			
		}


		suspending = false;
	}