Split file calculations from file parser