Fixed bug when creating file and optimized icons file sizes.