can send file and detect extention