Moved 'file_stack_' after $type to have a nice name.