Added remove functions for deleted files