performance fix for file parsing