Improved file handler by adding memoizing. Improved context loading by using metatables instead of copying indexes.