Add metadata tables for data_files and delete_files
#1066
Merged
data_files and delete_files
#1066