Added the file uplload functionality with visualization