removing unnecessary files from extension