Change FileStore to use objects

Instead of ID strings, FileStore will use file objects with details
about the stored file.