private void deleteFile(ApplicationFile file) {
        try {
            file.delete();
        } catch (RuntimeException e) {
            throw new BadRequestException("File '" + file.getPath() + "' is not an empty directory");
        }
    }
Requests for content and content status, both for prepared and active sessions,
are handled by this class.

@author hmusum
configserver/src/main/java/com/yahoo/vespa/config/server/http/ContentHandler.java