change shareOnefile method