Support deleting files through server requests

Issue #437