Added support for file deletion in FileRef