Improved files saving and also saving alpha-transparency into separate file.