move file lookup to own file