creating XMLFile objects from file paths and reading in the contents and storing their file size