keeps picking up wrong file