aligning the original files with the one uploaded