works mostly; better filename generator