If you're talking about a Google Chrome extension, it's a zip file containing other files. Change the extension to .zip, open it and do what you like. Put the changed files back into the zip file, then change it back to .crx.