Added link and file deletion