fixed the server to create all files if they don't exist yet.