tried file outputting