Each company shall erect and maintain fences, on the sides of the railroads operated by it, at such places and within such times as the Commissioner of Transportation directs.