further refactoring to break down the VelocityFile class