fs -> stdio