Delete files

This pull request makes it possible to delete files by removing:

- The resource record
- The resource metadata
- The resource key