Corrects file path