Reading of shift files needs fixing