Added begin/rescue clauses, timestamp verification of files