fixed promptfile redirect