Revert "last_insert_file_added"

This reverts commit f97e69f965028bb2d774c8755612ade2321899bd.