complete the file example on MDN