added distinction between being ordered by client and server to delete
file