switching String.match(regex) to regex.test(String) where possible
switching File model idAttribute to path (sha is content hash, not unique), adding isNew() sha check