Remove ‘/shared’ part of path from files