Delete files in database and file system

Change-Id: Ie15326ae0a2102b0295b07189e166b19824d9cc8