Can't write a file cause I am the worst programmer in the world