separate File type out in couchdb; initial update restrictions (no error detection!)