Fixes #69. Deleting media deletes corresponding files.