Added for file and text.