Added deleted attribute to fles and misc changes