Test read file