Various fails at generating the file