separate start of server from file loading