read file in command line