clear empty path when files get deleted
updated key generation, clean empty path
fixed filemetadata write
removed comment
fixed cache keying