Now accepts a default parameter for the input filename, instead of requiring a special flag to specify in