How to generate the PX Submission Summary File without the PX Submission Tool?

In case of bulk submissions when Aspera is used and there are too many files to handle them with the PX Submission Tool Gui the summary files can be generated by scripting. Details of the tab delimited PX Submission format can be found in the ProteomeXchange_Submission_Summary_File_Format.pdf that is distributed with the PX Submission Tool and can be downloaded from here. Example submission summary files (Complete and Partial) can be downloaded form here.