test FileIO