adjust for different files