Forgot to change var 'filename'