return None for deleted files