Builds and returns a FileData object with the current state of the builder.
A new instance of FileData.