Whitespace + Reorder
Change index -> level;

The new index member is used to indicate the index of the current file
in the file_storage member. IMO this is less confusing and removes any
ambiguities.