I add a new method check if a file is shared or not