The first two lines and the last are unnecessary, and the line relating to ThisFile has nothing to do with anything you mentioned in the question. Which leaves you with the line I suggested.