You accidentally deleted your keystore-file or exported your private-key from another wallet which didn't provide a keystore-file?
No problem, you can simply generate a new one. Some of you may think you can just download your keystore-file using the 'View Wallet Info'-Tab, but this only works if were using your keystore-file as login-method.
If you're using your private-key there won't be any option for downloading your keystore-file.
Now why should you even use the keystore-file if you've already got your private-key? Thats simple. The keystore-file is encrypted and requires a password while the private-key is plaintext and doesn't require any further authentication.
To generate yourself a new keystore-file you'll need:
- Your private-key
- Google Chrome (Download: https://www.google.com/chrome/index.html#)
Install the official MyEtherWallet-Chrome-Extension
Link: https://chrome.google.com/webstore/detail/myetherwallet-cx/nlbmnnijcnlegkjjpcfjclmcfggfefdm?hl=en
(You can also find this link by clicking on 'MyEtherWallet Chrome Extension' in the lower right of the MyEtherWallet-Website)
Open the MEW extension and click "Add Wallet"
You'll be redirected to the MyEtherWallet-Website.
Select the "Private Key"-Checkbox, then enter your private-key and click "Unlock".
Next assign a "name" and a password (the password will be the password for your keystore-file) and add the wallet.
Now open the extension and click "My Wallets".
You'll be redirected to the MyEtherWallet-Website - click on the "View"-icon for your wallet
Enter your password and click "View Wallet Info".
Now just download your keystore-file 

Congratulations, you're done :)
If you have any questions please feel free to ask anytime.
Best regards,
xuNsh1ne
Bitcointalk: https://bitcointalk.org/index.php?action=profile;u=134226
Steemit: https://steemit.com/@xunsh1ne
Facebook: https://www.facebook.com/xuNsh1neV1337
Twitter: @xuNsh1ne_V1
Telegram: @xuNsh1ne