Two simple problems about file.