Jobhistory filename change

Modifying the job history filename parsing such that it can process different job history filename formats