change API; ad file drag&drop to debug page