replace file object in browser history with parent folder when deleting it
use interface instead of abstrct class for filesystem