read files in SMC.