Added ability to add/retrieve file assets to/from entities.

All updates revolve around adding and retrieving file assets.
Also added integration tests to test that this new code works correctly.