table-model and file management added