Reading contents of directory and removing directory added.