decode uri when getting file