cleaned up retriev line function, removed redundant csv file