updates file parsing