Thank, you if you ever want to algorithm on how its being done or anything feel free to ask.As I said this is a learning project for me so I would more than be happy to share my knowledge gained by working on this.

In my previous post in reply to app's i stated that the application should not be increasing the file size upon further testing i was wrong.Keeping the file size near the same has been added to my todo list for this application.