Fixed reference to FileReference, and removed Duplicates