XHR sendfile
Model cleanup