select file on the server is done, but not tested