Fixed file loading bug.