Use this script below to save each layer into files http://www.scriptsrus.talktalk.net/download/Layer%20Saver.zip. When you save them in seperate files you can create an action which makes the Image -> Trim move to cut the layers transparent pixels which you don't need for every file.