fixed duplicate file contents