get file from server