test BasicFileOutput