Adding Helper function for building from file