source pos to file pos translation