Updated a bug with updating files after a log has been taken.