Added job saving to file