file path adaptation