switch static server to ifile