Fixed bug in downloading shared file and allow others to generate shared link