create and read file