set style to file