TODOs and bug fixing
can index rust
Don't create filemaps at pos 0 and handle filemaps with length 0 in lookups