added input handler - reads txt returns an array list of stuff