Rename file to filename.
Remove the data object of page and instead store those properties directly on the instance.