added the hw and the files
added hw authorization and size for the hw
added the hash to the files
fixed the file models to point to hw
allow none value in file hw