add thor file