added: add file custom REST.API method

added: add file custom REST.API method