handle .csv file import better

also organized solution a little better