Added sample file and input reading.