get body to null if block is empty
fix types
hash file names into cache