cleanup of a few files
de-templetized the FileInputmanager class
cleaned up the file handling code