backup filename generation added including the original path; backup saving added