refactor filename extraction
added methods for storing and retreiving raw hashblocks to support later implementation of federation, replication, etc.