class FileService extends BasicService implements OwnerAPISupport<File> {

	@Override
	@DELETE
	@Path("/files/{fileId}/owners/{ownerId}")
	@Produces(MediaType.APPLICATION_JSON)
	public File deleteOwner(@PathParam("fileId") long fileId, @PathParam("ownerId") long ownerId) {
		File existingFile = getExistingFile(fileId, true);
		doDeleteOwner(existingFile, ownerId);

		return FileDAO.save(existingFile);
	}

}