adding comments to filelist format
adding error message and graceful message on get shape failure
Ignoring empty files in getsetshape, note there will still be a warning, also moving lumixsweight calculation into a function