check table->file->inited to catch incorrect calling sequence.
Attach a file by drag & drop or click to upload