add a code file about fetching input from keyboard and file