Modified code to get defaults when multiple files are selected for binning in l2bin. missionDir is computed using the first file in the input list of files.