Fixed multi-file parsing bug