support specifying file and content at the same time
2.3.0