File uploads now working with file-model directive