Remove passing in a session. Remove method for identifying the id for a
file to the schema.File type.