added support for deleting content, and associating files with active record