add server option and open files option