altered file input system so that only classification was based on the type of data.  Also file name is taken as a param.  Could not get the file structure to compile so someone else should see if it builds properly.