tidy avatar upload files