Refacto - Replaced FileTemplate with an alternative from_file constructor