fix some bugs of deleting file and add a trash bin model