Updating file loading to work with newer Synapse API