some initial work done for saving image image being saved in fs.somefolder