Modified the working of all the files.