added retrieval methods

added getting items by fileid or index