Added error checking for no file name or only one file name entered. TODO: check for invalid input as well. Removed diagnostic print statements from main.