wtf code-- in file chose dialog